/**
 * 
 */
package com.wolfpire.section.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.wolfpire.system.common.Page;
import com.wolfpire.system.common.base.dao.IBaseHibernateDao;
import com.wolfpire.system.model.Chapter;
import com.wolfpire.system.model.Section;
import com.wolfpire.system.model.StudyHistory;

/**
 * 学习记录
 * @author lihd
 *
 */
public interface StudyHistoryDao extends IBaseHibernateDao<StudyHistory, Long> {
	//学习章节的历史记录
	public StudyHistory saveStudyHistory(long userId, long sectionId);
	
	//查找用户的学习记录
	public List<StudyHistory> findStudyHistory(long userId,String date);
	
	public int complempercent(long subjectId,long userId);
	//查找用户对视频的评论
	public List<StudyHistory> findPinLunBySection(long sectionId, String flag);
}
